<p-dialog header="请选择" [(visible)]="display" modal="modal" width="width" [responsive]="true" (onHide)="onHideCapcity()">
    <p-tree [value]="filesTree4"
            selectionMode="single"
            [(selection)]="selected"
            (onNodeSelect)="onNodeSelect($event)"
            (onNodeExpand)="nodeExpand($event)"
    ></p-tree>
    <!--<div style="margin-top:8px">Selected Node: {{selected ? selected.label : 'none'}}</div>-->
    <p-footer>
        <button type="button" pButton icon="fa-check" (click)="selectedTreeDialog()" label="确定"></button>
        <button type="button" pButton icon="fa-close" (click)="closeTreeDialog()"
                class="ui-button-secondary" label="取消"></button>
    </p-footer>
</p-dialog>
<p-growl [(value)]="msgs"></p-growl>